package com.util;

import java.util.UUID;

public class FileUtil {
    public static String getFileType(String fileName)
    {
        String fileType = fileName.substring(fileName.lastIndexOf("."));
      UUID uuid = UUID.randomUUID();
      return uuid.toString()+"."+fileType;
    }
}
